package com.objcat.servicegateway;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@Slf4j
@SpringBootApplication
@EnableDiscoveryClient
@RefreshScope
public class ServiceGatewayApplication {

//	@Bean
//	public AuthGatewayFilterFactory authGatewayFilterFactory() {
//		return new AuthGatewayFilterFactory();
//	}

	public static void main(String[] args) {
		SpringApplication.run(ServiceGatewayApplication.class, args);
		log.info("start------------------------------");
	}

}
